import request from '@/utils/system/request'

export function cityList() {
    return request({
        url   : 'garden/cityList',
        method: 'post',
    })
}

export function provinceList() {
    return request({
        url   : 'garden/provinceList',
        method: 'post',
    })
}

export function list() {
    return request({
        url   : 'garden/list',
        method: 'post',
    })
}

export function page(data: object) {
    return request({
        url   : 'garden/page',
        method: 'post',
        data,
    })
}
export function mapurl() {
    return request({
        url   : 'garden/mapurl',
        method: 'post',

    })
}

export function saveOrUpdate(data: object) {
    return request({
        url   : 'garden/saveOrUpdate',
        method: 'post',
        data,
    })
}

export function spider(data: object) {
    return request({
        url   : 'garden/spider',
        method: 'post',
        data,
    })
}

export function statistics(data: object) {
    return request({
        url   : 'garden/statistics',
        method: 'post',
        data,
    })
}

export function gardenExport(data: object) {
    return request({
        url   : 'garden/export',
        method: 'post',
        data,
    })
}

